package com.data.DO;

import lombok.Data;

import java.util.Date;

/**
 * @author: wangmq
 * @create: 2024-01-03 11:32
 **/
@Data
public class StudentDO {

    private String id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 出生年月
     */
    private Date birthday;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 身高
     */
    private Double height;

    /**
     * 体重
     */
    private Double weight;

    /**
     * 软删标志
     */
    private Integer isDeleted;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 血型
     */
    private String blood;


    @Override
    public String toString() {
        return "StudentDO{" +
                "name='" + name + '\'' +
                ", birthday=" + birthday +
                ", sex=" + sex +
                ", height=" + height +
                ", weight=" + weight +
                ", isDeleted=" + isDeleted +
                ", createTime=" + createTime +
                '}';
    }

    public StudentDO(String id){
        System.out.println(id);
    }

    public StudentDO(){
        System.out.println("hi");
    }

    public StudentDO(String name, Integer age){
        System.out.println(name);
    }
}
